<template>
    <div>
        <p>{{ defaultText }},{{name }}</p>
    </div>
</template>

<script>
    export default {
        name: 'HelloWorld',
        data() {
            return {
                name: '设置',
            }
        },
        mounted() {
            browser.runtime.sendMessage({})
        },
        computed: {
            defaultText() {
                return browser.i18n.getMessage('extName')
            }
        }
    }
</script>

<style scoped>
    p {
        font-size: 20px;
    }
</style>
